/**
满屏
 */

body {
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}

.jd-layout {
    min-width: 300px;
    max-width: 640px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

/*头部通栏*/

.jd-top-bar {
    position: fixed;
    z-index: 1000;
    height: 45px;
    width: 100%;
    background: url("../images/header-bg.png") repeat-x;
    background-size: 1px 44px;
    border-bottom: 1px solid #e0e0e0;
}

.jd-top-bar > .icon-back, .jd-top-bar > .icon-menu {
    display: block;
    width: 40px;
    height: 44px;
    background-position: -20px 0;
    background-clip: content-box;
    background-origin: content-box;
    padding: 12px 10px;
    position: absolute;
    top: 0;
}

.jd-top-bar > a.icon-menu {
    background-position: -60px 0;
    right: 0;
}

/*搜索框*/

.jd-top-bar > form {
    width: 100%;
    height: 44px;
    padding: 0 40px;
}

.jd-top-bar > form > input {
    width: 100%;
    height: 32px;
    border: 1px solid #bfbfbf;
    border-radius: 4px;
    margin-top: 6px;
    padding: 0 10px;
}

/*分类大盒子*/
main {
    width: 100%;
    height: 100%;
    position: relative;
}

main img{
    width: 100%;
    vertical-align: middle;
}

main .jd-category-left {
    width: 90px;
    height: 100%;
    position: absolute;
    padding-top: 45px;
}

main .jd-category-right {
    padding-top: 45px;
    padding-left: 90px;
    height: 100%;
    overflow: hidden;
}

/*左侧列表*/
main > .jd-category-left > ul {
    height: 100%;
    overflow-y: scroll;
    background-color: #f8f8f8;
}

main > .jd-category-left > ul > li {
    border-right: 1px solid #eeeeee;
}

main > .jd-category-left > ul > li + li {
    border-top: 1px solid #eeeeee;
}

main > .jd-category-left > ul > li.active {
    background-color: white;
    border-right: none;
}

main > .jd-category-left > ul > li.active > a {
    color: #E92322;
}

main > .jd-category-left > ul > li > a {
    display: block;
    text-align: center;
    line-height: 60px;
    color: #737373;
}

/*右侧盒子*/
main > .jd-category-right > .jd-category-right-box {
    padding: 10px 12px;
    overflow-y: scroll;
    height: 100%;
}

main > .jd-category-right > .jd-category-right-box > .r-product {
    margin-top: 10px;
}

main > .jd-category-right > .jd-category-right-box > .r-product > ul > li {
    width: 33.33%;
    float: left;
    margin-top: 10px;
}

main > .jd-category-right > .jd-category-right-box > .r-product > ul > li > a{
    display: block;
}

main > .jd-category-right > .jd-category-right-box > .r-product > ul > li > a > p{
    text-align: center;
    line-height:25px;
}



